package steampunk.geom;

public interface Intersectable {

	/** Returns true if this object intersects the other */
	public boolean intersects(Intersectable other);
	/** Returns true if this object intersects the line */
	public boolean intersectsLine(double x1, double y1, double x2, double y2);
	/** Returns true if this object contains the point */
	public boolean containsPoint(double x, double y);
	/** Returns true if this object intersects the circle */
	public boolean intersectsCircle(double x, double y, double radius);
	/** Returns true if this object intersects the rectangle */
	public boolean intersectsRect(int x, int y, int w, int h);
	
}
